<?php $__env->startSection('css'); ?>
    <link rel="stylesheet" href="/vendor/daterangepicker/daterangepicker.css">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

    <div class="admin-content">

        <div class="am-cf am-padding">
            <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">续期或更改套餐</strong> /
                <small>Edit</small>
            </div>
        </div>
        <hr>
        <?php echo $__env->make('admin._flash', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

        <div class="am-g">
            <div class="am-u-sm-12 am-u-md-12">

                <form class="am-form" action="/admin/recustomer/saveplan/<?php echo e($company->id); ?>" method="post">
                    <?php echo e(csrf_field()); ?>

                    <?php echo e(method_field('PUT')); ?>





                    <div class="am-g am-margin-top">
                        <div class="am-u-sm-4 am-u-md-2 am-text-right">
                            开通方案
                        </div>
                        <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                            <th><?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $p): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <label class="am-btn am-btn-default am-btn-xs am-round" >
                                        <input type="radio" name="rechargeway_id" value="<?php echo e($p->id); ?>"<?php if($p->id==$company->rechargeway_id && $type==1): ?>checked <?php endif; ?> > <?php echo e($p->plan_name); ?>

                                    </label><br>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </th>
                        </div>
                    </div>


                    <div class="am-margin" style="float: right">
                        <button type="submit" class="am-btn am-btn-primary am-radius">提交保存</button>
                        <a href="/admin/recustomer" class="am-btn am-btn-primary am-radius">取消</a>
                    </div>
                </form>
            </div>
        </div>
    </div>


<?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?>
    <script src="/vendor/html5-fileupload/jquery.html5-fileupload.js"></script>
    <script src="/js/upload.js"></script>



    <script>
        $(function () {
//文件上传
            //文件上传





        })


    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin.application', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>